<?php $view = $this; if(1!=1)$view = new View(); ?>
<h2>资产：<?php echo $view->Total; ?></h2>
<table style="width:100%;" class="data">
<tr><th>DiaryDate</th><th>AccountName</th><th>Income</th><th>Expend</th><th>Remark</th></tr>
<?php foreach($view->RecordData as $k=>$v):?>
<tr>
<td><?php echo date('Y-m-d H:i:s', $v['DiaryDate']);?>&nbsp;</td>
<td><?php echo $v['AccountName']?>&nbsp;</td>
<td><?php echo $v['Income']?>&nbsp;</td>
<td><?php echo $v['Expend']?>&nbsp;</td>
<td><?php echo $v['Remark']?>&nbsp;</td>
</tr>
<?php endforeach;?>
</table>